//-----------------------------------------------------------------------------
//  File          : IMEDLL.h
//  Module        : 
//  Description   : Header for for ECRDLL export functions.
//  Author        : lifenqi
//  Notes         :
//
//  Naming conventions
//  ~~~~~~~~~~~~~~~~~~
//             Constant : Leading K
//      Global Variable : Leading g
//    Function argument : Leading a
//       Local Variable : All lower case
//
//  Date          Who         Action
//  ------------  ----------- -------------------------------------------------
//  2009-7-15     lifenqi       Initial Version  
//-----------------------------------------------------------------------------
#ifndef _INC_IMEDLL_H_
#define _INC_IMEDLL_H_
#include "common.h"

//-----------------------------------------------------------------------------
//   Common Defines
//-----------------------------------------------------------------------------
#define IMEDLL_ID          0x7C

//-----------------------------------------------------------------------------
//   ECRDLL Functions ID
//-----------------------------------------------------------------------------
enum {
  IMEMAIN                     , // 01       Kbd Fun
  IMC_FUNC_COUNT                // Must be the last item
};

//-----------------------------------------------------------------------------
//  API
//-----------------------------------------------------------------------------
 
 
//extern BYTE ime_main(BYTE *dispstr)
#define IME_ime_main(x)       (int) lib_app_call(IMEDLL_ID, IMEMAIN, (DWORD)x, (DWORD)0, (DWORD)0)
 
#endif // _INC_IMEDLL_H_

